package Chapter02;
public class zuoye1 {
    //1.输入两个数，计算他们加减乘除取余的结果。
    public static void main(String[] args) {
        int num1 =79;
        int num2 =23;
        int a=num1+num2;
        int b=num1-num2;
        int c=num1*num2;
        int d=num1/num2;
        int e=num1%num2;
        System.out.println("两数相加得:"+a+"\n两数相减得:"+b+"\n两数相乘得:"+c+"\n两数相除得:"+d+"\n两数相余:"+e);
    }
}
